﻿using IntelligentAgriculture.Contracts.Dto.Input.ManageInput;
using IntelligentAgriculture.Contracts.Dto.Output.ManageOutput;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IntelligentAgriculture.Contracts.Dto.Output.RidgepOutPut;
using IntelligentAgriculture.Contracts.Dto.Input.RidgepInput;
using IntelligentAgriculture.Domain.Entity;
using IntelligentAgriculture.Contracts.Dto.Output.PageOutput;
using IntelligentAgriculture.Contracts.Dto.Output.EarTagOutput;

namespace IntelligentAgriculture.Contracts.Interface.Iridgepletype
{
    public interface IridegpoleService
    {
        PagesOutput<RidgepShowOutput> GetShow(RidgepShowinput input);

        Task<int> Add(Ridgepole entity);

        Task<int> Update(Ridgepole entity);

        Task<int> Delete(int id);

        Task<int>DeleteRange(IEnumerable<int> ids);

        Task<RidgepShowOutput> Find(int id);
        Task<IQueryable<Ridgepole>> GetRidgepoles(int rid);

    }
}
